import Enum from './Enum';

/**
 * 验收状态
 */
export const acceptanceStatus = new Enum([
    ['IN_PROGRESS', '验收中'],
    ['FINISHED', '验收成功'],
    ['FAILED', '验收失败'],
    ['IN_PROGRESS_WAIT_SUBMIT', '验收中（待提交）'],
    ['FAILED_WAIT_SUBMIT', '验收失败（待提交）'],
]);

/**
 * 操作日志类型（验收单）
 */
export const operationLogTypes = new Enum([
    ['addAcceptanceData', '新增'],
    ['editAcceptanceData', '编辑'],
    ['deleteAcceptanceData', '删除'],
    ['saveDraft', '保存草稿'],
]);

/**
 * 资源池类型
 */
export const poolTypes = new Enum([
    ['industry', '行业云'],
    ['private', '私有云'],
]);

/**
 * 申请类型
 */
export const applyTypes = new Enum([
    ['establishment', '新建工程'],
    ['expansion', '扩容工程'],
]);

/**
 * 资源池架构
 */
export const poolArchs = new Enum([
    ['ComputationStorageSeparation', '计算存储分离'],
    ['ComputationStorageConvergence', '计算存储融合'],
    ['other', '其他'],
]);

/**
 * 存储类型
 */
export const storageTypes = new Enum([
    ['Ceph', 'Ceph'],
    ['AI-NativeStorage', 'AI原生存储'],
    ['Atlas', 'Atlas'],
]);

/**
 * 是否有等保安全设备
 */
export const booleans = new Enum([
    ['true', '是'],
    ['false', '否'],
]);
